package day4;

public class Student {
    private void study(){
        System.out.println("开始学习");
    }
    public int math(Integer n,Integer m){
        System.out.println("计算加法:"+n+"+"+m);
        return m+n;
    }
}
class Teacher{
    public void school(String name){
        System.out.println(name+"开始上课");
    }
    public String getInfo(){
        System.out.println("获取老师信息");
        return "老孙，38岁...";
    }
    public void sum(int java,Integer mysql){
        System.out.println("成绩总和："+(java+mysql));
    }
}
